package dao;
import entity.Master;
import dao.MasterDao;

import java.util.List;

public interface MasterDao {
    default Master getMaster(String username, String password)throws Exception{
        return null;
    }
    default int getmaster(int userid,String username, String password)throws Exception{
        return 0;
    }
    default int updeteMaster(String username, String password,String oldPassword) throws Exception {
        return 0;
    }
     List<Master> getlist()throws Exception;
}
